package com.ruoyi.detection.mapper;

import com.ruoyi.detection.domain.DetectionLog;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Mr-Le
 */
@Repository
public interface ModelMapper {

    /**
     * 新增图片识别信息
     *
     * @param detectionLog 模型检测信息
     * @return
     */
    public int insertDetectionLog(DetectionLog detectionLog);


    /**
     * 查询识别历史记录
     * @param detectionLog
     * @return
     */
    public List<DetectionLog> selectDetectionLogList(DetectionLog detectionLog);
}
